package com.cheng.pojo;

import java.sql.Timestamp;

/**
签到表
 签到时间，签到点，
 */
public class SignIn {
    /**
     * sid 签到用户的学生编号
     * */
    private String sid;
    /**
     *name 签到用户的名称
     * */
    private String name;
    /**
     * cid  本次签到的名称
     * */
    private String cid;
    /**
     * cname 本次签到的课堂名
     * */
    private String cName;
    /**
     * times 第几次签到
     * */
    private String number;
    /**
     * 签到时间  天数 yyyymmdd
     * */
    private String date;
    /**
     * 签到具体时间 精确到秒
     * */
    private Timestamp signInTime;
    /**
     *签到状态  0未签到 1已签到 2请假 3审批中请假',
     **/
    private String state;

    public SignIn(String sid, String name, String cid, Timestamp signInTime ,String cName, String number, String date, String state) {
        this.sid = sid;
        this.name = name;
        this.cid = cid;
        this.cName = cName;
        this.number = number;
        this.date = date;
        this.signInTime = signInTime;
        this.state = state;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Timestamp getSignInTime() {
        return signInTime;
    }

    public void setSignInTime(Timestamp signInTime) {
        this.signInTime = signInTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "SignIn{" +
                "sid='" + sid + '\'' +
                ", name='" + name + '\'' +
                ", cid='" + cid + '\'' +
                ", cName='" + cName + '\'' +
                ", number='" + number + '\'' +
                ", date='" + date + '\'' +
                ", signInTime=" + signInTime +
                ", state='" + state + '\'' +
                '}';
    }
}
